package com.java2007.service;

import com.java2007.pojo.Admin;

/**
 * @author zy
 * @version V1.0
 * @date 2021/03/10
 */
public interface AdminService {
    /**
     * 登录
     * @param adminName
     * @param adminPassword
     * @return
     */
    Admin login(String adminName, String adminPassword);

    void updatePwd(String reNewPasswd, Long adminId);
}
